home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / m&tcga / gtools.h < prev    next >
Text File  |  1988-06-04  |  1KB  |  30 lines

  1.  
  2.                /*┌───────────────────────────────────────────────────────┐
  3.                  │                                                       │
  4.                  │       HEADER FILE FOR CGA and EGA GRAPHICS TOOLS      │
  5.                  │                                                       │
  6.                  └───────────────────────────────────────────────────────┘*/
  7.  
  8. void cls(char colors);
  9. char getAdapter();
  10. int getMode(int *ncols);
  11. int getPage(void);
  12. void getxy(int *column, int *row, int page);
  13. void gotoxy(int column, int row);
  14. int readChar(int page, char *attr);
  15. void readColorReg(int color_reg, int *red, int *green, int *blue);
  16. int readPixel(int x, int y);
  17. void scrollWindowDn(int x1, int y1, int x2, int y2, int color);
  18. void scrollWindowUp(int x1, int y1, int x2, int y2, int color);
  19. void setBackground(int color);
  20. void setCGAPalette(int paletteNo);
  21. void setColorPage(int page_no);
  22. void setColorPageMode(int mode);
  23. void setEGAPalette(int palette, int color);
  24. void setMode(int mode);
  25. void setPage(int page);
  26. void setWindow(int x1, int y1, int x2, int y2, int color);
  27. void writChar(char ch, int color, int page);
  28. void writeColorReg(int color_reg, int red, int green, int blue);
  29. void writString(char *str, int color, int page);
  30.